
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8"/>
    <title>IconFont</title>
    <link rel="stylesheet" href="demo.css">
    <link rel="stylesheet" href="iconfont.css">
</head>
<body>
    <div class="main markdown">
        <h1>IconFont 图标</h1>
        <ul class="icon_lists clear">
            
                <li>
                <i class="icon iconfont icon-36shiyanshiyiqi"></i>
                    <div class="name">36实验室仪器</div>
                    <div class="fontclass">.icon-36shiyanshiyiqi</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-Factory"></i>
                    <div class="name">Factory</div>
                    <div class="fontclass">.icon-Factory</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-Factory2"></i>
                    <div class="name">Factory</div>
                    <div class="fontclass">.icon-Factory2</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-Item_details"></i>
                    <div class="name">Item_details</div>
                    <div class="fontclass">.icon-Item_details</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-Inventory_records"></i>
                    <div class="name">Inventory_records</div>
                    <div class="fontclass">.icon-Inventory_records</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-Inventory_list"></i>
                    <div class="name">Inventory_list</div>
                    <div class="fontclass">.icon-Inventory_list</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-logo"></i>
                    <div class="name">logo</div>
                    <div class="fontclass">.icon-logo</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-New_dealers"></i>
                    <div class="name">New_dealers</div>
                    <div class="fontclass">.icon-New_dealers</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-No_inventory"></i>
                    <div class="name">No_inventory</div>
                    <div class="fontclass">.icon-No_inventory</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-Patient_details"></i>
                    <div class="name">Patient_details</div>
                    <div class="fontclass">.icon-Patient_details</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-Patient_list"></i>
                    <div class="name">Patient_list</div>
                    <div class="fontclass">.icon-Patient_list</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-Outbound_btn"></i>
                    <div class="name">Outbound_btn</div>
                    <div class="fontclass">.icon-Outbound_btn</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-Outbound_list"></i>
                    <div class="name">Outbound_list</div>
                    <div class="fontclass">.icon-Outbound_list</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-Print_btn"></i>
                    <div class="name">Print_btn</div>
                    <div class="fontclass">.icon-Print_btn</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-nventory_verificatio"></i>
                    <div class="name">nventory_verificatio</div>
                    <div class="fontclass">.icon-nventory_verificatio</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-Profit_loss_record_"></i>
                    <div class="name">Profit_ loss_record_</div>
                    <div class="fontclass">.icon-Profit_loss_record_</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-Return_record_btn"></i>
                    <div class="name">Return_record_btn</div>
                    <div class="fontclass">.icon-Return_record_btn</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-sales_return_list"></i>
                    <div class="name">sales_return_list</div>
                    <div class="fontclass">.icon-sales_return_list</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-sales_return_btn"></i>
                    <div class="name">sales_return_btn</div>
                    <div class="fontclass">.icon-sales_return_btn</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-stock_management"></i>
                    <div class="name">stock_management</div>
                    <div class="fontclass">.icon-stock_management</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-Return_list"></i>
                    <div class="name">Return_list</div>
                    <div class="fontclass">.icon-Return_list</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-stock_inquiry"></i>
                    <div class="name">stock_inquiry</div>
                    <div class="fontclass">.icon-stock_inquiry</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-stock_taking_btn"></i>
                    <div class="name">stock_taking_btn</div>
                    <div class="fontclass">.icon-stock_taking_btn</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-time"></i>
                    <div class="name">time</div>
                    <div class="fontclass">.icon-time</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-store_recording"></i>
                    <div class="name">store_recording</div>
                    <div class="fontclass">.icon-store_recording</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-Unlibrary_record_lis"></i>
                    <div class="name">Unlibrary_record_lis</div>
                    <div class="fontclass">.icon-Unlibrary_record_lis</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-Withdrawing_money_li"></i>
                    <div class="name">Withdrawing_money_li</div>
                    <div class="fontclass">.icon-Withdrawing_money_li</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-Withdrawing_btn"></i>
                    <div class="name">Withdrawing_btn</div>
                    <div class="fontclass">.icon-Withdrawing_btn</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-Warehouse_management"></i>
                    <div class="name">Warehouse_management</div>
                    <div class="fontclass">.icon-Warehouse_management</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-Warehousing_btn"></i>
                    <div class="name">Warehousing_btn</div>
                    <div class="fontclass">.icon-Warehousing_btn</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-Withdrawing_money_re"></i>
                    <div class="name">Withdrawing_money_re</div>
                    <div class="fontclass">.icon-Withdrawing_money_re</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-add"></i>
                    <div class="name">add</div>
                    <div class="fontclass">.icon-add</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-agency"></i>
                    <div class="name">agency</div>
                    <div class="fontclass">.icon-agency</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-alter"></i>
                    <div class="name">alter</div>
                    <div class="fontclass">.icon-alter</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-basic_info"></i>
                    <div class="name">basic_info</div>
                    <div class="fontclass">.icon-basic_info</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-add_btn"></i>
                    <div class="name">add_btn</div>
                    <div class="fontclass">.icon-add_btn</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-del"></i>
                    <div class="name">del</div>
                    <div class="fontclass">.icon-del</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-inventory"></i>
                    <div class="name">inventory</div>
                    <div class="fontclass">.icon-inventory</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-Inventor_loss"></i>
                    <div class="name">Inventor_loss</div>
                    <div class="fontclass">.icon-Inventor_loss</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-Factory3"></i>
                    <div class="name">Factory</div>
                    <div class="fontclass">.icon-Factory3</div>
                </li>
            
        </ul>

        <h2 id="font-class-">font-class引用</h2>
        <hr>

        <p>font-class是unicode使用方式的一种变种，主要是解决unicode书写不直观，语意不明确的问题。</p>
        <p>与unicode使用方式相比，具有如下特点：</p>
        <ul>
        <li>兼容性良好，支持ie8+，及所有现代浏览器。</li>
        <li>相比于unicode语意明确，书写更直观。可以很容易分辨这个icon是什么。</li>
        <li>因为使用class来定义图标，所以当要替换图标时，只需要修改class里面的unicode引用。</li>
        <li>不过因为本质上还是使用的字体，所以多色图标还是不支持的。</li>
        </ul>
        <p>使用步骤如下：</p>
        <h3 id="-fontclass-">第一步：引入项目下面生成的fontclass代码：</h3>


        <pre><code class="lang-js hljs javascript"><span class="hljs-comment">&lt;link rel="stylesheet" type="text/css" href="./iconfont.css"&gt;</span></code></pre>
        <h3 id="-">第二步：挑选相应图标并获取类名，应用于页面：</h3>
        <pre><code class="lang-css hljs">&lt;<span class="hljs-selector-tag">i</span> <span class="hljs-selector-tag">class</span>="<span class="hljs-selector-tag">iconfont</span> <span class="hljs-selector-tag">icon-xxx</span>"&gt;&lt;/<span class="hljs-selector-tag">i</span>&gt;</code></pre>
        <blockquote>
        <p>"iconfont"是你项目下的font-family。可以通过编辑项目查看，默认是"iconfont"。</p>
        </blockquote>
    </div>
</body>
</html>
